<?php
/**
 * XuYuan Project
 *
 * @package	XueYuan 
 * @author	Jiuchi Team
 * @since	Version 1.0.0
 * @filesource
 */
defined('BASEPATH') OR exit('No direct script access allowed');
/**
 * Login view
 * @author Wayne Yu
 */
?>
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">

<head>
    <?php $this->load->view('common/head');?>
	<!-- Page special css -->
    <link rel="stylesheet" type="text/css" href="/assets/css/index.css">
    <link rel="stylesheet" type="text/css" href="/assets/css/mycenter.css">
    <link rel="stylesheet" type="text/css" href="/assets/css/mycircle.css">
    <link rel="stylesheet" type="text/css" href="/assets/css/jquery.fancybox.css">
    <link rel="stylesheet" type="text/css" href="/assets/css/circle_content.css">
</head>
<body>
    <div class="navigation">
        <?php $this->load->view('common/navigation');?> 
    </div>
    <div class="wrapper">
        <div class="main-content">
            <div class="main-content-inner">
                <div class="home-list">
                    <div class="home-list-title">
                        <span>搜索话题"<?echo $keyword?>"的结果</span>
                    </div>
                    <div class="home-list-content clearfix">
                        <div id="ep-tips" class="ep-tips">
                            <span>没有搜索到匹配结果，请尝试其他关键词。</span>
                        </div>
                        <div id="myDynamic" class="home-list-content clearfix">
                            <ul id="cirTopicsMore">
                                <li class="topic-item">
                                    <div class="rep">
                                        <div class="rep-header clearfix">
                                            <div class="rep-avatar">
                                                <a target="_blank" href="#" class="headportrait"></a>
                                            </div>
                                            <div class="rep-note">
                                                <span class="rep-auth-src name"></span>&nbsp<span class="rep-catalog text-small">发表的话题</span>
                                                <div class="rep-title ellipsis title"></div>
                                            </div>
                                        </div>
                                        <div class="rep-content-wrapper clearfix" >
                                            <div class="rep-content">
                                                <div class="topicphoto"></div>
                                                <div class="rep-comment content" style="margin-top: 10px;"></div>
                                            </div>
                                        </div>
                                    </div>
                                </li>
                                <a href="javascript:;" class="btn-white btn-more btn-more-topics">查看更多</a>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="footer">
        <?php $this->load->view('common/footer');?>
    </div>
	<script type="text/javascript" src="/assets/js/jquery.more.js"></script>
    <script>
    $(document).ready(function() {
        $('#cirTopicsMore').more({
            'address'   :   '<?php echo site_url('topic/searchTopics').'?keyword='.$keyword?>',
            'template'  :   '.topic-item',
            'trigger'   :   '.btn-more-topics',
            'defaultshow'   : '#ep-tips'
        });       
    });
    </script>

</body>
</html>

